package com.matt.service;


import com.matt.domain.AboutPallet;
import com.matt.domain.AboutVisit;
import com.matt.foundation.model.StatusResponse;
import com.matt.foundation.query.AboutVisitQuery;
import org.springframework.data.domain.Page;

import java.util.Collection;
import java.util.List;


/**
 * 预约到访业务层
 *
 * @author makejava
 * @since 2025-02-20 11:01:26
 */
public interface AboutVisitService {

    AboutVisit save(String ticket,AboutVisit aboutVisit);

    AboutVisit wpAdd(AboutVisit aboutVisit);

    AboutVisit update(String ticket, AboutVisit aboutVisit);

    StatusResponse updateLeads(String ticket, AboutVisit aboutPallet);

    AboutVisit wpUpdate(AboutVisit aboutVisit);


    void deleteById(String id);

    AboutVisit findById(String id);

    List<AboutVisit> findById(Collection<String> ids);

    Page<AboutVisit> list(String ticket, AboutVisitQuery aboutVisit);

    List<AboutVisit> getList(AboutVisitQuery aboutVisit);

}

